#include "iostream"

#include "BaseApplication.hpp"

bool My::BaseApplication::m_bQuit = false;

My::BaseApplication::BaseApplication(GfxConfiguration &cfg)
    : m_Config(cfg)
{

}

// 解析命令行，读取配置，初始化所有子模块
int My::BaseApplication::Initialize()
{   
    int result = 0;
    std::wcout << m_Config;
    return result;
}

// 完成所有子模块并清理所有运行时临时文件。
void My::BaseApplication::Finalize()
{

}

void My::BaseApplication::Tick()
{

}

bool My::BaseApplication::IsQuit()
{
    return m_bQuit;
}
